package com.warehouse.module.system.api.appuser;

import com.warehouse.module.system.api.appuser.dto.AppUserDTO;

public interface AppUserApi {

    AppUserDTO getAppUserByAppIdOpenId(String appId, String openid);

    AppUserDTO createAppUser(AppUserDTO appUserDTO);

    AppUserDTO getByPhoneNo(String appId, String phone);

    boolean updateUserPhone(String appId, String openid, String phone);
    boolean updateUserOpenId(String appId, String openid, String phone);
}
